﻿using YNTK.Common.Enum;
using YNTK.Common.Filter;
using YNTK.Dependency;

namespace YNTK.General.Entitys.Dto.Notice
{
    /// <summary>
    /// 查询(会议)培训通知数据请求模型
    /// </summary>
    [SuppressSniffer]
    public class QueryTrainingNoticeFilterReqyestModel: PageBaseRequestModel
    {
        /// <summary>
        /// 机构id
        /// </summary>
        public string? mechanismId { get; set; } = string.Empty;

        /// <summary>
        /// 共享范围(null.全部 0.全组织 1.特定机构 2.特定角色 3.特定用户 4.仅自己可见)
        /// </summary>
        public SharedScopeEnum? sharedScope { get; set; } = null;

        /// <summary>
        /// 状态(null.全部 0.未提交 1.待审核 2.审核不通过 3.已驳回 4.审核通过 5.待确认 6.已完成)
        /// </summary>
        public AuditStateEnum? state { get; set; } = null;

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? startDate { get; set; } = null;

        /// <summary>
        /// 截止日期
        /// </summary>
        public DateTime? endDate { get; set; } = null;

        /// <summary>
        /// 启用/禁用,1.启用 0.禁用 2.全部
        /// </summary>
        public int? enabledMark { get; set; } = null;

        /// <summary>
        /// 模糊查询,标题、培训地点、培训方式、培训内容、注意事项
        /// </summary>
        /// <example></example>
        public string? keyword { get; set; } = string.Empty;
    }
}
